package com.grm.sys.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SysLogOperateResponse {
    private Long id;
    //请求类型,0=ajax,1=普通请求
    private int type;
    //请求动作
    private String action;
    //请求主机
    private String host;
    //请求路径
    private String uri;
    //请求方式
    private String httpMethod;
    //请求类的方法
    private String classMethod;
    //请求参数
    private String params;
    // 操作人ID
    private Long operateId;
    private String operateUsername;
    private String operateRealName;
    // 操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date operateTime;
}
